package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwNel;
import com.tjmc.tiomscore.model.TranPtnHwNelExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwNelMapper extends TranPtnHwSuperMapper<TranPtnHwNel> {
    long countByExample(TranPtnHwNelExample example);

    int deleteByExample(TranPtnHwNelExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwNel record);

    int insertSelective(TranPtnHwNel record);

    List<TranPtnHwNel> selectByExample(TranPtnHwNelExample example);

    TranPtnHwNel selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwNel record, @Param("example") TranPtnHwNelExample example);

    int updateByExample(@Param("record") TranPtnHwNel record, @Param("example") TranPtnHwNelExample example);

    int updateByPrimaryKeySelective(TranPtnHwNel record);

    int updateByPrimaryKey(TranPtnHwNel record);
}